package com.javasm.adminapi.module.system.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色权限中间表(RolePermission)表实体类
 *
 * @author makejava
 * @since 2025-10-18 22:29:09
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RolePermission extends Model<RolePermission> {
//主键ID
    @TableId(type = IdType.AUTO)
    private Long id;
//角色ID（关联role表）
    private Long roleId;
//权限ID（关联permission表）
    private Long permissionId;
//创建时间
    private Date createTime;

    private Integer add;
    private Integer update;
    private Integer delete;

}
